section {
  display: block;
}

section.box {
  margin: 15px 0 15px 0;
  background-color: transparent;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0), 0 2px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0), 0 2px 2px rgba(0, 0, 0, 0.1);
  -ms-box-shadow: 0 1px 3px rgba(0, 0, 0, 0), 0 2px 2px rgba(0, 0, 0, 0.1);
  -o-box-shadow: 0 1px 3px rgba(0, 0, 0, 0), 0 2px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0), 0 2px 2px rgba(0, 0, 0, 0.1);
}

section header {
  position: relative;
  display: inline-block;
  width: 100%;
  vertical-align: top;
  background-color: transparent;
  border: 0 solid rgba(0, 0, 0, 0.12);
  border-bottom: 0 solid #673ab7;
}

section header .title {
  display: inline-block;
  padding: 10px 18px 0 14px;
  margin: 0;
  font-family: '微软雅黑', Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 19px;
  color: #6e6e6e;
  border: 0 solid rgba(0, 0, 0, 0.12);
  border-bottom: 0;
}

.box .panel_header .title {
  position: relative;
  width: auto;
  height: 30px;
  background-color: #FFF;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
}

.box .panel_header .actions {
  padding-right: 26px;
  padding-left: 5px;
  background-color: #fff;
  border-top: 0 solid rgba(0, 0, 0, 0.12);
  border-right: 0 solid rgba(0, 0, 0, 0.12);
}

section.box .actions {
  position: absolute;
  top: 0;
  right: 0;
  height: 30px;
  margin: 0;
  line-height: 30px;
}

section .content-body {
  padding: 10px;
  background-color: #fff;
  border: 0 solid rgba(0, 0, 0, 0.12);
}

.btn,
.transition {
  -webkit-transition: .5s;
  -moz-transition: .5s;
  transition: .5s;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.5, 1);
  -moz-transition-timing-function: cubic-bezier(0.4, 0, 0.5, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.5, 1);
}

section.box.nobox {
  background-color: transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -ms-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
}

section.nobox header {
  background-color: transparent;
  border: 1px solid transparent;
  border-bottom: 0 solid transparent;
}

section.nobox header .title {
  padding-left: 0;
}

section.nobox .content-body {
  padding: 0;
  background-color: transparent;
  border: 0 solid transparent;
}

section.box .actions {
  position: absolute;
  top: 0;
  right: 0;
  height: 30px;
  margin: 0;
  line-height: 30px;
}

section.box .actions i {
  position: relative;
  z-index: 2;
  display: block;
  float: left;
  margin-top: 10px;
  margin-right: 4px;
  margin-left: 4px;
  /*font-size: 14px;*/
  color: #bdbdbd;
  cursor: hand;
  cursor: pointer;
}

section.box .actions i:hover {
  color: #9e9e9e;
}

section.box .actions i.box_toggle {
  margin-top: 12px;
  font-size: 21px;
}

section.box .actions i.box_close {
  font-size: 16px;
}

section.box .actions i.box_setting {
  font-size: 14px;
}

section.collapsed .content-body {
  height: 15px!important;
  max-height: 15px!important;
  padding-top: 0!important;
  padding-bottom: 0!important;
  overflow: hidden;
}

section.collapsed .content-body * {
  display: none!important;
}

section.box.collapsed {
  border-bottom: 0 solid rgba(0, 0, 0, 0.12);
}

section.box.collapsed header {
  padding-bottom: 0;
}

.box .panel_header .title div {
  position: relative;
  z-index: 2;
}

.box .panel_header .title {
  position: relative;
  width: auto;
  height: 30px;
  background-color: #FFF;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
}

.box .panel_header .title:after {
  position: absolute;
  top: 0;
  right: -12px;
  z-index: 1;
  display: block;
  width: 30px;
  height: 40px;
  background-color: #FFF;
  border-right: 0 solid rgba(0, 0, 0, 0.12);
  content: " ";
  -webkit-transform: skewX(30deg);
  -moz-transform: skewX(30deg);
  -ms-transform: skewX(30deg);
  -o-transform: skewX(30deg);
  transform: skewX(30deg);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0), 1px 0 0 rgba(100, 100, 100, 0.05);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0), 1px 0 0 rgba(100, 100, 100, 0.05);
  -ms-box-shadow: 0 1px 3px rgba(0, 0, 0, 0), 1px 0 0 rgba(100, 100, 100, 0.05);
  -o-box-shadow: 0 1px 3px rgba(0, 0, 0, 0), 1px 0 0 rgba(100, 100, 100, 0.05);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0), 1px 0 0 rgba(100, 100, 100, 0.05);
}

.box .panel_header .actions:before {
  position: absolute;
  top: 0;
  left: -15px;
  z-index: 1;
  display: block;
  width: 35px;
  height: 40px;
  background-color: #FFF;
  border-top: 0 solid rgba(0, 0, 0, 0.12);
  border-left: 0 solid rgba(0, 0, 0, 0.12);
  content: " ";
  -webkit-transform: skewX(30deg);
  -moz-transform: skewX(30deg);
  -ms-transform: skewX(30deg);
  -o-transform: skewX(30deg);
  transform: skewX(30deg);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0), -1px 0 0 rgba(100, 100, 100, 0.05);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0), -1px 0 0 rgba(100, 100, 100, 0.05);
  -ms-box-shadow: 0 1px 3px rgba(0, 0, 0, 0), -1px 0 0 rgba(100, 100, 100, 0.05);
  -o-box-shadow: 0 1px 3px rgba(0, 0, 0, 0), -1px 0 0 rgba(100, 100, 100, 0.05);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0), -1px 0 0 rgba(100, 100, 100, 0.05);
}

.box .panel_header .actions {
  padding-right: 15px;
  padding-left: 5px;
  padding-bottom: 10px;
  background-color: #fff;
  border-top: 0 solid rgba(0, 0, 0, 0.12);
  border-right: 0 solid rgba(0, 0, 0, 0.12);
}

section.primary header.panel_header .title,
section.primary header.panel_header .title:after,
section.primary .content-body,
section.primary .panel_header .actions,
section.primary .panel_header .actions:before {
  color: #f5f5f5;
  background-color: #673ab7;
}

section.accent header.panel_header .title,
section.accent header.panel_header .title:after,
section.accent .content-body,
section.accent .panel_header .actions,
section.accent .panel_header .actions:before {
  color: #f5f5f5;
  background-color: #ff6e40;
}

section.success header.panel_header .title,
section.success header.panel_header .title:after,
section.success .content-body,
section.success .panel_header .actions,
section.success .panel_header .actions:before {
  color: #f5f5f5;
  background-color: #46be8a;
}

section.warning header.panel_header .title,
section.warning header.panel_header .title:after,
section.warning .content-body,
section.warning .panel_header .actions,
section.warning .panel_header .actions:before {
  color: #f5f5f5;
  background-color: #fdb45d;
}

section.danger header.panel_header .title,
section.danger header.panel_header .title:after,
section.danger .content-body,
section.danger .panel_header .actions,
section.danger .panel_header .actions:before {
  color: #f5f5f5;
  background-color: #ef5350;
}

section.info header.panel_header .title,
section.info header.panel_header .title:after,
section.info .content-body,
section.info .panel_header .actions,
section.info .panel_header .actions:before {
  color: #f5f5f5;
  background-color: #26c6da;
}

section.primary header .title,
section.accent header .title,
section.success header .title,
section.warning header .title,
section.danger header .title,
section.info header .title {
  margin-top: 0;
  color: #fcfcfc;
}

section.box.primary .actions i,
section.box.accent .actions i,
section.box.success .actions i,
section.box.warning .actions i,
section.box.info .actions i,
section.box.danger .actions i {
  color: #f5f5f5;
}

section.box.primary .actions i:hover,
section.box.accent .actions i:hover,
section.box.success .actions i:hover,
section.box.warning .actions i:hover,
section.box.info .actions i:hover,
section.box.danger .actions i:hover {
  color: #f5f5f5;
}

section.primary .content-body,
section.accent .content-body,
section.success .content-body,
section.warning .content-body,
section.danger .content-body,
section.info .content-body {
  color: #fff;
}


/*@media only screen and (max-width: 414px) {
    section.box header.panel_header .title {
        width: 100%;
        background: none;
        padding: 4px;
        text-align: center;
        top: -30px;
    }
    section.box header.panel_header .title:after {
        background: none;
    }
    section.box .content-body {
        height: 100%;
        margin-top: -5px;
        padding: 3px;
        background-color: #fff;
        border: 0 solid rgba(0, 0, 0, 0.12);
    }
    }*/

@media only screen and (max-width: 992px) {
  section.box header.panel_header .title {

    background: none;
    padding: 4px;
    text-align: left;
    top: 0px;
  }
  .box .panel_header .title:after {
    display: none;
  }
}
